#include<stdio.h>
#include<math.h>
int main()
{
    int year,count=0;
    for(year=2000;year<=3000;year++)
    {
  if(year%4==0)
    {
    if(year%100!=0) count++;
     
      }
      if(year%400==0) count++;
     }
    printf("\ncount=%d",count);
 return 0;
}
